#ifndef _ENEMY_H_
#define _ENEMY_H_

#include "dynamicobjects.h"
#include "Node.h"
class CEnemy :
	public CDynamicObjects
{
public:
	CSprite *sprite;
	CEnemy(void);
	void Update(CObjects *obj, int delta, CNode *_NodeRoot);
	void Animation(CDynamicObjects *obj);
	void Render(CObjects *obj);
	void MoveX(CDynamicObjects* obj,int  delta);
	void MoveY(CDynamicObjects* obj,int  delta);
	bool CheckMoveY(CDynamicObjects* obj,int  delta,CNode *_NodeRoot);
	bool CheckMoveX(CDynamicObjects* obj,int  delta,CNode *_NodeRoot);
	~CEnemy(void);
};

#endif